package com.qidian.mes.produce.mapper;


import com.qidian.mes.pojo.Composition;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CompositionMapper {
    List<Composition> getList(int craftRelId);

    int addComposition(Composition composition);

    int updateNext(String compositionName,int compositionRelId);

    int update(Composition composition);

    Composition getUpdate(int compositionRelId);
}
